<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>css选择器</title>
    <h1>css样式演示</h1>
    <link rel="stylesheet" href="outstyle.css" type="text/css">
</head>
<body>
    <p>斜体字演示</p>
    <div>
        <span id="iter">本元素是div的id=iter的子元素，粗体生效</span>
    </div>
    <span id="iter">本元素不是div的id=iter的子元素，粗体不生效</span>
    <h3>span+h3 相邻选择器此处生效</h3>
</body>
</html>